#include <stdio.h>

void swap(int *pa,int *pb){
    int temp;
    temp = *pa;
    *pa = *pb;
    *pb = temp;
}

int main(int argc, char *argv[]) {

    int a, b, c, temp;
    scanf("%d %d %d", &a, &b, &c);

    a > b ? swap(&a, &b) : 0;
    b > c ? swap(&b, &c) : 0;
    a > b ? swap(&a, &b) : 0;

    printf("%d %d %d", a, b, c);
    return 0;
}